import axios from './axiosFun';

//查询所有的分类
export const getClass = (params) => {return axios.post("/bookClass/getClass",params)}

//删除分类
export const deleteClass = (param) => {return axios.get("/bookClass/deleteClass?id="+param)}

//查询所有的分类
export const getOne = (param) => {return axios.get("/bookClass/getOne?id="+param)}

//保存分类信息
export const saveClass = (params) => {return axios.post("/bookClass/saveClass",params)}